// 调试命令行参数传递
console.log('=== 调试命令行参数 ===');
console.log('process.argv:', process.argv);
console.log('process.argv.slice(2):', process.argv.slice(2));
console.log('包含www:', process.argv.slice(2).includes('www'));

// 测试不同的参数格式
const testArgs = [
  'www',
  '--www',
  '-www'
];

testArgs.forEach(arg => {
  console.log(`测试参数 "${arg}":`, process.argv.slice(2).includes(arg));
});
